table.ENCRYPTED Function

Syntax

Result_Flag as L = Encrypted()

Description

Returns TRUE if table is encrypted.

Discussion

The <TBL>.ENCRYPTED() method returns .T. (TRUE) if the table referenced by <TBL> is encrypted; otherwise, it returns .F. (FALSE).

Example

Open a table, supplying its password, then test its encryption status.

dim t as P
t = table.open("customer",FILE_RW_EXCLUSIVE,"","swordfish")
? t.encrypted()
= .T.

See Also